<%@ Register TagPrefix="cc2" Namespace="PHSRAG.WebControls" Assembly="PHSRAG.WebControls" %>
<%@ Register TagPrefix="cc1" Namespace="PHSRAG.Insight21.InsightWebControls" Assembly="PHSRAG.Insight21.InsightWebControls" %>

<%@ Page Language="c#" Inherits="PHSRAG.Insight21.FinancialTransaction"
    CodeFile="FinancialTransaction.aspx.cs" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Financial Transaction</title>
    <link href="../Insight21.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form method="post" id="FinancialTransactionForm" runat="server">
        <table class="Container" width="100%">
            <tr>
                <td>
                    <table class="Header" width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                            <td colspan="6">
                                <cc1:Header ID="insightHeader" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc1:PurchasingSubNavigation ID="purchasingSubModuleNavigation" runat="server" />
                                <cc1:AgreementsSubNavigation ID="agreementsSubNavigation" EnableOverviewNavigation="true"
                                    runat="server" />
                                <cc1:AgreementDetailsSubNavigation ID="agreementDetailsSubNavigation" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc2:BreadCrumb ID="financialTransactionBC" runat="server" />
                            </td>
                        </tr>
                    </table>
                    <table class="Invisible" id="dynamicTable" width="100%" border="0" cellspacing="10">
                        <tr>
                            <td>
                                <cc2:Annunciator ContainerID="dynamicTable" ID="annunciator" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <cc2:ActivityIndicator ContainerID="dynamicTable" ID="activityIndicator" runat="server" />
                            </td>
                        </tr>
                    </table>
                    <table class="PlaceBar" width="100%">
                        <tr>
                            <td class="PageName">
                                Journal Entry | As Of&nbsp;<asp:Label ID="asOfDate" runat="server" /></td>
                            <td align="center">
                                <cc1:RefreshDates ID="refreshDates" runat="server" Visible="True" POAPAsOfDateVisible="False"
                                    GLAsOfDateVisible="True" SalaryAsOfDateVisible="false" />
                            </td>
                            <td align="right">
                                <cc1:InsightDownloadBar ID="reportDownload" useRootHost="true" runat="server" />
                            </td>
                            <td>
                                &nbsp;</td>
                        </tr>
                    </table>
                    <table cellspacing="0" cellpadding="0" width="100%">
                        <tr>
                            <td>
                                <cc2:Pager ID="pagerAboveDatagrid" runat="server" />
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:DataGrid ID="journalEntryGrid" runat="server" Width="100%" AutoGenerateColumns="False"
                                    CssClass="DataGrid" AllowSorting="True" AllowCustomPaging="True" AllowPaging="True"
                                    ShowFooter="True">
                                    <AlternatingItemStyle CssClass="DataGridAlternatingItem" />
                                    <ItemStyle CssClass="DataGridItem" />
                                    <HeaderStyle CssClass="DataGridHeader" />
                                    <FooterStyle CssClass="DataGridFooter" />
                                    <Columns>
                                        <asp:BoundColumn DataField="JournalID" SortExpression="JournalID" ReadOnly="True"
                                            HeaderText="Journal ID" />
                                        <asp:BoundColumn DataField="Description" SortExpression="Description" ReadOnly="True"
                                            HeaderText="Description" />
                                        <asp:BoundColumn DataField="FundNumber" SortExpression="FundNumber" ReadOnly="True"
                                            HeaderText="Fund #" />
                                        <asp:BoundColumn DataField="AccountNumber" SortExpression="AccountNumber" ReadOnly="True"
                                            HeaderText="Account #" />
                                        <asp:BoundColumn DataField="AccountDescription" SortExpression="AccountDescription"
                                            ReadOnly="True" HeaderText="Account Description" />
                                        <asp:BoundColumn DataField="Amount" SortExpression="Amount" ReadOnly="True" HeaderText="Amount">
                                            <HeaderStyle HorizontalAlign="Right" />
                                            <ItemStyle HorizontalAlign="Right" />
                                            <FooterStyle HorizontalAlign="Right" />
                                        </asp:BoundColumn>
                                        <asp:BoundColumn DataField="PostedBy" SortExpression="PostedBy" ReadOnly="True" HeaderText="Date Posted"
                                            DataFormatString="{0:MM/dd/yyy}" />
                                    </Columns>
                                    <PagerStyle Visible="False" />
                                </asp:DataGrid></td>
                        </tr>
                        <tr>
                            <td>
                                <cc2:Pager ID="pagerBelowDatagrid" runat="server" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
